<template>
	<up-modal
		:show="deleteShow"
		@cancel="close"
		showCancelButton
		:closeOnClickOverlay="true"
		confirmColor="#458CFF"
		@confirm="confirm"
		@close="close"
		title="确认要提交信息吗？"
	>
		<view style="text-align: center; color: #888888">
			提交后不能修改!
			<br />
			请确认好信息提交!
		</view>
	</up-modal>
</template>

<script setup>
const props = defineProps({
	deleteShow: {
		type: Boolean,
		default: false
	}
});
const emit = defineEmits(['confirm','close']);
const confirm = () => {
	emit('confirm', '点击确定了');
};
const close = ()=>{
	emit('close', '点击取消了');
}
</script>

<style></style>
